package com.bskj.common.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.bskj.common.bean.model.AggregateAmountsVo;
import com.bskj.common.bean.model.FindSumChargeVo;
import com.bskj.common.bean.model.ParkInfo;
import com.bskj.common.dao.core.BaseDao;

public interface ParkInfoDao extends BaseDao<ParkInfo>{
    public List<ParkInfo> getParkInfo(ParkInfo parkInfo);

    public List<Map<String, Integer>> getDailyCharge(ParkInfo parkInfo) throws Exception;

    /**
     * 获取商家的慧付单收入到账明细，按天区分
     *
     * @param parkInfo
     * @return
     * @throws Exception
     */
    public List<Map<String, Integer>> getDailyTransfer(ParkInfo parkInfo) throws Exception;
    
    /**
     * 获取停车场的总金额
     * @param findSumChargeVo
     * @return
     * @throws Exception
     */
    public List<AggregateAmountsVo> getSumCharge(FindSumChargeVo findSumChargeVo) throws Exception;
    
    /**
	 * 查询用户在某个时间段到现在这其中有多少的发票金额
     * @param startTime
     * @param userId
     * @return
     * @throws Exception
     */
    public Integer getInoviceCharge(@Param("startTime") String startTime,@Param("userId") Integer userId)throws Exception;
    
    /**
	 * 获取某个停车场停车记录内的所有岗亭编号
	 * 
	 * @param custId
	 * @return
	 * @throws Exception
	 */
    public List<String>  getBoxNoList(Integer custId)throws Exception;
    
    public AggregateAmountsVo getSumCoupon(FindSumChargeVo findSumChargeVo) throws Exception;
    
}
